home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / bbs / vcf136.lha / VCF / VCF.DOC < prev    next >
Encoding:
Text File  |  1994-11-22  |  6.2 KB  |  156 lines

  1.  
  2.         Virus Check Uploaded Files Version 1.36
  3.         ---------------------------------------
  4.  
  5. INTRODUCTION:
  6.  
  7.     Tired of manually checking uploaded files for viruses? Well to be honest
  8. I never checked uploaded files on my BBS for viruses because it would have 
  9. taken too long, so I was thinking, wouldn't it be great to write some
  10. sort of script to automatically check the latest files that users uploaded
  11. [Do users upload files? ;-)], of course the first thing to find out, was
  12. did Virus Checker have an AREXX port? and thankfully it did and off I went.
  13.  
  14. INSTALLATION:
  15.  
  16.     First off create a drawer in dh0:s/ called VCF, (or to make things
  17. simpler just copy the unarched drawer VCF to dh0:s/) make sure the script 
  18. VCF.rexx is in the drawer VCF. If you wish to place VCF.rexx and its associated
  19. files in another drawer be sure to change the arguments at the beginning
  20. of the VCF.rexx script.
  21.  
  22.     Make sure you have TrFL (Which comes in the TransAmiga Archives) in
  23. the drawer BBS:bin/ and make sure you have the BBS file configs in BBS:configs/
  24. If you have the standard TransAmiga Setup all of these should be present.
  25.     Also, examine the script and change the paths in the beginning
  26. of the script to where your programs are stored, eg Virus Checker etc.
  27. Important! Make sure the Version of Virus Checker you are using is 6.44 or
  28. greater as VCF uses features added in version 6.44 and above.
  29.  
  30. USAGE:
  31.  
  32.     Assuming you've set it all up, all you have to do is
  33. type "rx dh0:s/VCF/VCF.rexx" and sit back :), run the program every day
  34. either manually or part of a cron.
  35.  
  36. But how does it all work?
  37.  
  38. well first off, the program creates a filelist of the files uploaded to the BBS
  39. in the past day, and then it scans the areas and checks them with the file.cfg
  40. file to find out where the paths of the areas are, then the program checks
  41. to see if there are any new files in the area and if there is it unarcs them
  42. to the VCF/files/ drawer and runs Virus Checker and through the AREXX port it
  43. scans all the files and then deletes them, if it finds a virus it logs
  44. it in a logfile and also opens a warning window on your WorkBench.
  45.  
  46. VIRUS FOUND:
  47.  
  48.     If VCF finds a virus either in an archive or as a single file you
  49. will be told and after this you must take steps to delete the virus. After
  50. VCF has finished its work, run Virus Checker manually and unarchive the
  51. offending file(s) to ram: and instruct VC to scan Ram: it should then
  52. delete the virus from the file if it can (Refer to VC docs for more 
  53. information). And then if you wish you can replace the virus infected file
  54. in the archive, with the new "clean" one in ram:. 
  55.  
  56. E.G.  "lha r bbs:files/area/archive.lha ram:file"
  57.  
  58. Substituting in the actual, archive and file name, check the new archive
  59. a few times for viruses, just to make 100% sure it's gone for good, I would
  60. also advise you to scan your whole HD for that virus, just in case you
  61. ran the virus infected file while validating the file etc.
  62. Also, warn the system/person that you got the archive from that there is/was
  63. a virus in it, to insure it doesn't spread any more and lastly, make sure
  64. no users have downloaded the virus infected archive and if they have
  65. post a warning bulletin about the archive.
  66.  
  67. KNOWN BUGS?:
  68.  
  69.     Not any more, thankfully but if you find any at all please let me know.
  70.  
  71. HISTORY:
  72.  
  73. 22th August 1994    Started coding
  74. 23th August 1994    Version 1.0 Finished
  75. 24th August 1994    Docs Written
  76. 25th August 1994    Added FILE_ID.DIZ Recognition
  77. 30th August 1994    Adds NOVIRUS File to Archives
  78. 31th August 1994    Serious Problem With Adding of NOVIRUS
  79. 7th  September 1994    Revamp of Code by Ian Willis
  80. 30th October 1994    Updated Docs
  81. 8th  November 1994    Better Virus Checking
  82. 10th November 1994    More Information Given in Logs
  83. 21th November 1994    VCF is Publicly Released At Last!
  84. 22th November 1994    Uploaded to Aminet
  85.  
  86. UPDATES:
  87.  
  88. Version 1.1    25/08/94    While scanning an archive for viruses VCF
  89.                 now also scans for an FILE_ID.DIZ textfile
  90.                 and if one is found it adds it to the long
  91.                 description of the file, on the BBS.
  92.  
  93. Version 1.15    30/08/94    If after an archive is scanned and it contains
  94.                 no known viruses a text file called NOVIRUS,
  95.                 located in the VCF drawer is added to the 
  96.                 archive, telling the user the file was free of
  97.                 viruses when it passed through your BBS.
  98.                 Edit the text file to your own needs, just
  99.                 don't change the filename.
  100.  
  101. Version 1.16    31/08/94    Lha attempted to add the NOVIRUS text file
  102.                 to every type of file and not just .lha files
  103.                 this resulted in non .lha files being corrupted
  104.                 as I soon found out when a GIF file was
  105.                 assaulted by lha! x-). The problem was easy 
  106.                 enough to fix thankfully.
  107.  
  108. Version 1.15+    07/09/94    Major modifications by Ian Willis. He tidyed up
  109.                 the code and made it a lot more flexible, so
  110.                 hopefully it should run on a lot more systems 
  111.                 now.
  112.  
  113. Version 1.20    30/10/94    Due to starting college and the like, VCF
  114.                 was forgotten for a while,but at last I merged
  115.                 V1.16 and 1.15+ to form V1.20.
  116.  
  117. Version 1.30    08/11/94    I have incorporated new features in Virus
  118.                 Checker 6.44 into VCF, namely when a virus
  119.                 is found, you are told the name of the virus
  120.                 and which file in the archive it is in.
  121.                 Also thanks to John Veldthuis (Author of VC)
  122.                 I was able to get my hands on a file virus
  123.                 and check the virus checking routine actually
  124.                 did work, which it did, with the new version
  125.                 anyway ;-).
  126.  
  127. Version 1.35    10/11/94    If VCF adds a FILE_ID.DIZ to a long description
  128.                 of a file, it is now recorded in the logfile.
  129.                 If a virus is found, a proper window is opened
  130.                 on the WorkBench screen warning the sysop
  131.                 of the fact, just in case he may miss it in
  132.                 the logfile etc.
  133.  
  134. Version 1.36    21/11/94    VCF now checks ZIP files for viruses (unlikely
  135.                 to find any Amiga ones as zip is used 
  136.                 predominitely for PC files) and more importantly
  137.                 FILE_ID.DIZ which a lot of ZIP's do contain.
  138.  
  139. FUTURE PLANS:
  140.  
  141.     I've just about incorperated all the ideas I have but contact me 
  142. for any ideas you might have!
  143.  
  144. CONTACT:
  145.  
  146.     If you use this program PLEASE send me a little note telling me, and
  147. perhaps tell me what you think of it, I can be contacted via FidoNet or Internet
  148.  
  149. FidoNet  : 2:263/154
  150. Internet : iblack@dit.ie
  151. Internet : iain_black@nemesis.internet-eireann.ie
  152.  
  153. "Reality is a state of mind" - Iain Black 1994
  154.  
  155.     
  156.